package com.tz.service;

import com.tz.dao.CategoryDao;
import com.tz.entity.Category;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by Administrator on 2016/7/27.
 */
@Service
@Transactional
public class CategoryServiceImpl implements CategoryService{
    @Autowired
    private CategoryDao categoryDao;
    @Override
    public void saveCategorys(Category c) {

        categoryDao.saveCategory(c);
    }
}
